package org.example.myleet.p699;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.JsonUtils;
import org.example.myleet.Utils.Parser;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("[2,5,5]".equals(JsonUtils.toJson(solution.fallingSquares(Parser.parse("[[1, 2], [2, 3], [6, 1]]")))));
        Assert.isTrue("[100,100]".equals(JsonUtils.toJson(solution.fallingSquares(Parser.parse("[[100, 100], [200, 100]]")))));
    }
}
